import storage from './storage/index'

const TokenKey = 'admin-Token'

export function getToken() {
  return storage.sessionGet(TokenKey)
}

export function setToken(token:string) {
  return storage.sessionSet(TokenKey, token)
}

export function removeToken() {
  return storage.sessionRemove(TokenKey)
}
